<?php
/**
 * Created by PhpStorm.
 * User: hebidu
 * Date: 15/12/14
 * Time: 15:27
 */

namespace Tool\Api;


use Common\Api\Api;
use Tool\Model\MessageModel;

class MessageApi extends Api {

    /**
     * 查询，不分页
     */
    const QUERY_NO_PAGING = "Tool/Message/queryNoPaging";
    /**
     * 添加
     */
    const ADD = "Tool/Message/add";
    /**
     * 保存
     */
    const SAVE = "Tool/Message/save";
    /**
     * 保存根据ID主键
     */
    const SAVE_BY_ID = "Tool/Message/saveByID";

    /**
     * 删除
     */
    const DELETE = "Tool/Message/delete";

    /**
     * 查询
     */
    const QUERY = "Tool/Message/query";

    /**
     * 查询一条数据
     */
    const GET_INFO = "Tool/Message/getInfo";

    public function _init(){
        $this->model = new MessageModel();
    }

}